#include <bits/stdc++.h>
using namespace std;
inline int read(){
    int s=0,f=1;
    char ch=getchar();
    while(ch<'0'||ch>'9'){
        if(ch=='-') f=-1;
        ch=getchar();
    }
    while(ch>='0'&&ch<='9'){
        s=s*10+ch-'0';
        ch=getchar();
    }
    return s*f;
}
const int N=2e5;
int n,s=0,ans=-1;
int a[N];
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    n=read();
    for(int i=1;i<=n;i++) a[i]=read();
    sort(a+1,a+n+1);
    s=1;
    for(int i=2;i<=n;i++){
        if(a[i]==a[i-1]){
            s++;
        }else{
            //printf("%d\n",s);
            ans=max(ans,s);
            s=1;
        }
    }
    ans=max(ans,s);
    printf("%d\n",ans);
    //printf("%d\n",s);
    return 0;
}
/*
10
136 136 136 2417 136 136 2417 136 136 136
*/